﻿using MVC_basic.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AppsModel.Models
{
    public class CanvasApp : App
    {
        [Required]
        [Display(Name = "URL to your web-application")]
        public string url { get; set; }

        [Range(500, 1200)]
        [Display(Name = "The applications width(500-1200)")]
        public int canvasWidth { get; set; }

        [Range(500, 1000)]
        [Display(Name = "The applications height(500-1000)")]
        public int canvasHeight { get; set; }
    }
}
